package com.efesco.service.archives;

import com.bstek.dorado.common.*;
import com.bstek.dorado.data.*;
import com.bstek.dorado.view.*;
import com.bstek.dorado.view.data.*;
import com.bstek.dorado.view.control.*;
import com.efesco.common.CommUtil;
import com.efesco.system.ClientRightControl;

/**
 * V_change_query_detailViewModel
 */
public class V_change_query_detailViewModel extends DefaultViewModel {
  protected void initControls()
      throws Exception {
	  super.initControls();

	    String id="ARCHIVES_RPR_MODIFY";

		Control control=this.getControl(id);

		ClientRightControl clientRightControl=new ClientRightControl();	

		clientRightControl.rightControl(id, control,DoradoContext.getContext());

  }

  protected void doUpdateData(ParameterSet parameters, ParameterSet outParameters)
      throws Exception {
  Dataset ds=getDataset("dataset_change_out_detail");
  CommUtil.doUpdateData(ds,"S_archives_rpr","ARCHIVER_RPR_ID");
  
    //super.doUpdateData(parameters, outParameters);
  }

}
